package com.open.core.handler;

import com.open.core.NettyServer;
import com.open.core.common.Result;
import io.netty.channel.ChannelHandlerContext;

public class JoinGroupHandler {
    public static void excute(ChannelHandlerContext ctx){
        //todo 选择用户加入群聊

        NettyServer.GROUP.add(ctx.channel());
        ctx.channel().writeAndFlush(Result.success("加入系统群聊消息成功"));
    }
}
